package com.qf.hero;

import com.qf.weapon.HeroPlus;
import com.qf.weapon.LongSword;

public class Demo {
    public static void main(String[] args) {
        //1 创建6个英雄
        HeroPlus mophyt = new HeroPlus("石头人", 100, 100, 10,1000);
        HeroPlus mophyt2 = new HeroPlus("石头人", 100, 100, 10,1000);
        HeroPlus mophyt3 = new HeroPlus("石头人", 100, 100, 10,1000);

        HeroPlus yasuo = new HeroPlus("亚索", 80, 120, 10,500);
        HeroPlus yasuo2 = new HeroPlus("亚索", 80, 120, 10,500);
        HeroPlus yasuo3 = new HeroPlus("亚索", 80, 120, 10,500);
        LongSword sword = new LongSword("无尽之刃", 0, 200);
        yasuo.setWeapon(sword);
        yasuo3.setWeapon(sword);

        HeroPlus[] team1 = {mophyt,yasuo,yasuo2};
        HeroPlus[] team2 = {mophyt2,mophyt3,yasuo3};

        BattleManager.pk3v3(team1,team2);

    }
}
